/**
 *  @file
 *  @brief   约束类型定义
 *  @author  wanghuan
 *  @date    2024.04.16
 *  @version  v1.0
 *  @par Copyright(c):  ShenGong  Simulation corporation
 */

#pragma once
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Integer.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/** \enum ConstraintType
 * 约束类型枚举
 */
enum ConstraintType : SG::DataStructure::Common::I8
{
    CONTYPE_UnKonwn = -1,  ///< 约束类型未定义
    CONTYPE_MPCADD  = 0,   ///<
    CONTYPE_MPC     = 1,   ///<
    CONTYPE_SPCADD,        ///<
    CONTYPE_SPC,           ///<
    CONTYPE_SPCD,          ///<
    CONTYPE_SUPORT,        ///<
    CONTYPE_TEMP,          ///<
    CONTYPE_TEMPD,         ///<
    CONTYPE_MAPPING,
};

enum RElementType : SG::DataStructure::Common::I8
{
    R_UnKonwn = -1,
    R_RBAR1   = 0,
    R_RBAR    = 1,
    R_RBE1,
    R_RBE2,
    R_RBE3,
    R_RJOINT,
    R_RROD,
    R_RSPLINE,
    R_RTRPLT1,
    R_RTRPLT
};

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE